<#include "common/main_no_menu.html">
<#macro bodyId>login</#macro>
<#macro content>

<div class="signin">
	<#if errorMsg?? && errorMsg != ""><div class="alert alert-danger">${errorMsg}</div></#if>
	<form class="form-signin" action="${rc.contextPath}/login" role="form" method="post">
        <input type="hidden" name="redirectUrl" value=${redirectUrl}>
        <div class="form-group">
            <input type="text" name="loginName" value="${loginName}" class="form-control" placeholder="用户名/手机号" required>
        </div>
        <div class="form-group">
            <input type="password" name="password" class="form-control" placeholder="密码" autocomplete="off" required>
        </div>
        
        <button class="btn btn-lg btn-primary btn-block" type="submit">登 录</button>
    </form>
</div>
</#macro>